<link rel="stylesheet" href="__MOBILE__/default/css/mobile/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="__MOBILE__/default/css/mobile/mobile-game.css?v=201611" />
<script type="text/javascript">var lottery='PCEGG';var lotteryType='11';var template='PCEGG'</script>
<script type="text/javascript">
          var url = [
                  "__MOBILE__/default/js/mobile/jquery.js",
                  "__MOBILE__/js/libs.js",
                  "__MOBILE__/js/json2.js",
                  "__MOBILE__/default/js/period.js",
                  "__MOBILE__/default/js/bet.js",
                  "__MOBILE__/default/js/results.js",
                  "__MOBILE__/default/js/resultPanel.js",
                  "__MOBILE__/default/js/drawurls.js",
                  "__MOBILE__/default/js/mobile/mobile-fastclick.js",
                  "__MOBILE__/default/js/mobile/mobile-game.js?v=6"];
          
          for (i=0;i<url.length;i++) {
                $.ajax({
                  url: url[i],
                  cache: true,
                  dataType: "script",
                  async: false,
                  success: "",
                });
              // var scr = document.createElement("script");
              // scr.src = url[i];
              // scr.className = "loadscript";
              // document.getElementsByTagName("head")[0].appendChild(scr);
          }


$(".infopanel").css ("display" , "block");
$(".dropdowncentermenu").css("display", "block");
$(".dropdowncentermenu2").css("display", "block");
</script>
<!--  -->
<div class="container-fluid cn">
  <div class="row fixtop">
      <div class="row L_PCEGG borderpink cnsmall gradientlightpink"  onclick="resultsingle('PCEGG')" >
            <div class="col-xs-12 padding5">
                <div id="result_info" class="resultinfo deepred marginright15 marginleft10a floatleft  margintop5"><strong>-</strong>期</div>
                <div id="result_balls" class="resultshow floatleft">
                </div>
            </div>
        </div>
        
        <div class="row cnsmall">
            <div class="col-xs-5 padding5">
                <div class="resultinfo green marginright15 marginleft10 floatleft vcenter2"><strong id="drawNumber">-</strong><span class="deepred">期</span></div>
            </div>    
            <div class="col-xs-5 padding5">
                <div class="marginright15 floatleft deepred vcenter2 openPanel">距离封盘: <span class="green"><strong id="cdClose">00:00</strong></span></div>
                <div class="floatleft deepred vcenter2 closePanel" style="display:none">距离开奖: <span class="red"><strong id="cdDraw">00:00</strong></span></div>
            </div>    
            <div class="col-xs-2 padding5">
                <div class="pull-right deepred marginright5 vcenter2" style="width: 72px;"><i class="fa fa-refresh"></i> <span id="cdRefresh">0</span></div>
            </div>    
    	</div>
    </div>	
</div>
<script type="text/javascript">
var games = 'HZ,DX,DS,JZDX,DXDS,SB,BZ,TMB3';
$('.lotterys').find('a').each(function() {
    var t = $(this);
    var info = {
        id : t.attr('id').substr(2),
        info : t.attr('lang').split('_', 2),
        name : t.text()
    };
    t.data('info', info);
});
changePage($('#l_'+lottery));
</script>

<div id="bet_panel" class="container-fluid cn bet_panel input_panel" style="width:100%; height: 100%; padding-bottom: 94px; overflow:auto;-webkit-overflow-scrolling:touch">
    <div class="row"> 
        <div class="col-xs-12 padding10 bgpink borderpink marginbtm10">
            <div class="text-center"><div class="pull-left "><div class="toggleonoff mobilemenubtn2 gradientpink">隐藏 <span  ><i class="fa fa-minus-square"></i></span></div></div><span class="rowtitle white vcenter">特码包三</span><div class="pull-right"><div class="submitticketTMBS mobilemenubtn2 gradientred">下单 <i class="fa fa-arrow-circle-down"></i></div></div></div>  
        </div>
        <div class="bet_content">
			<div class="col-xs-12 col-sm-12">
                <div class="betlist borderpink" style="width: 100%;height: 100%">
                    <h1 title="特码包三" class="name">特码包三</h1>
                    <p class='odds' id="o_TMB3_0">--</p>
                    <div id="sTMB3" style="text-align:center"></div>
                    <div class="betarrow borderpink" rel="TMB3_0"><i class="fa fa-check"></i></div>
                </div>
            </div>
        </div>
    </div>

    <div class="gap100"></div>
</div>

<script>
gameDropDown(lottery, 'PCEGG','tmbs');

$('#sTMB3').on('change','select',function() {
    var z = $('#sTMB3 select:nth-child(1)').val() + ',' + $('#sTMB3 select:nth-child(2)').val() + ',' + $('#sTMB3 select:nth-child(3)').val();
    $('.name').attr('title',z)
});

$(".submitticketTMBS").click (function () {
        var z = $('#sTMB3 select:nth-child(1)').val() + ',' + $('#sTMB3 select:nth-child(2)').val() + ',' + $('#sTMB3 select:nth-child(3)').val();
        var gameArray = [];
        //var betcontent = $(this).parent ().parent ().parent ().next (".bet_content");
        //var activebet = $(betcontent).children ().find(".betlistactive");
        var activebet = $(".betlist");
        var count = 0;
        $(activebet).each(function(){
            var gametitle = $(this).parents(".row").find(".rowtitle").html();
            var subgamename = $(this).find("h1").attr('title');
            var subgameodd = $(this).find("p").html();
            var subgameid = $(this).find(".betarrow").attr("rel");
            gameArray.push([gametitle, subgamename, subgameodd, subgameid, z]);
            count = count + 1;
        });
        console.log("hello");
        resetMobileAll ();
        parent.displaysubmitbet (gameArray, 0);
});

</script>
<script type="text/javascript" src="__MOBILE__/default/js/pcegg.js"></script><div class="container-fluid cn">
    <div class="row">	
    	<div class="col-xs-12 padding10 bgpink borderpink margintop10 marginbtm10">
            <div class="text-center"><div class="pull-left "><div class="toggleonoff mobilemenubtn2 gradientpink">隐藏 <span	><i class="fa fa-minus-square"></i></span></div></div><span class="rowtitle white vcenter">两面长龙排行</span></div>  
        </div>
        <div class="bet_content">
          		<table width="100%" id="changlong-mobile">
  <tbody>
  </tbody>
</table>
<div class="gap20"></div>
 	</div>
</div>